/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    FanZhiwen
 * 创建时间:    2023-12-05
 */
package org.jeecg.modules.business.job;

import org.jeecg.modules.business.job.service.PurchaseNoticeService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 一次销售出库任务,如果已经有出库单（单据状态=待提交）,24小时内未跟SAP过账,则钉钉消息提醒仓库经理、仓库文员
 *
 * @author FanZhiwen
 * @version 1.0.0
 * @since 2023-12-05
 */
@Service
public class PurchaseNoticeJob implements Job {
    @Autowired
    private PurchaseNoticeService purchaseNoticeService;
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        purchaseNoticeService.purchaseNotice();
    }
}
